# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=pyqt-builder
pkgver=1.15.0
pkgrel=2
pkgdesc='The PEP 517 compliant PyQt build system'
arch=(any)
url='https://pypi.org/project/PyQt-builder/'
license=(GPL3)
depends=(python)
makedepends=(python-build python-installer python-setuptools python-wheel)
source=(https://pypi.io/packages/source/P/PyQt-builder/PyQt-builder-$pkgver.tar.gz)
sha256sums=('a90553703897eb41e27c2f1abd31fb9ed304c32ec3271b380015b54ea9762ddd')

build() {
  cd PyQt-builder-$pkgver
  python -m build --wheel --no-isolation
}

package() {
  cd PyQt-builder-$pkgver
  python -m installer --destdir="$pkgdir" dist/*.whl
}
